home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / tcsh / dist / RCS / config.h,v < prev    next >
Encoding:
Text File  |  1992-12-18  |  3.1 KB  |  136 lines

  1. head     1.1;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    jhh:1.1; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.1
  10. date     92.12.18.14.27.31;  author jhh;  state Exp;
  11. branches ;
  12. next     ;
  13.  
  14.  
  15. desc
  16. @@
  17.  
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @/*
  26.  * config.h -- configure various defines for tcsh
  27.  *
  28.  * All source files should #include this FIRST.
  29.  *
  30.  * Edit this to match your system type.
  31.  */
  32.  
  33. /****************** System dependant compilation flags ****************/
  34. /*
  35.  * POSIX    This system supports IEEE Std 1003.1-1988 (POSIX).
  36.  */
  37. #undef POSIX
  38.  
  39. /*
  40.  * POSIXJOBS    This system supports the optional IEEE Std 1003.1-1988 (POSIX)
  41.  *        job control facilities.
  42.  */
  43. #undef POSIXJOBS
  44.  
  45. /*
  46.  * VFORK    This machine has a vfork().  
  47.  *        It used to be that for job control to work, this define
  48.  *        was mandatory. This is not the case any more.
  49.  *        If you think you still need it, but you don't have vfork, 
  50.  *        define this anyway and then do #define vfork fork.  
  51.  *        I do this anyway on a Sun because of yellow pages brain damage,
  52.  *        [should not be needed under 4.1]
  53.  *        and on the iris4d cause    SGI's fork is sufficiently "virtual" 
  54.  *        that vfork isn't necessary.  (Besides, SGI's vfork is weird).
  55.  *        Note that some machines eg. rs6000 have a vfork, but not
  56.  *        with the berkeley semantics, so we cannot use it there either.
  57.  */
  58. #define VFORK
  59.  
  60. /*
  61.  * BSDJOBS    You have BSD-style job control (both process groups and
  62.  *        a tty that deals correctly
  63.  */
  64. #define BSDJOBS
  65.  
  66. /*
  67.  * BSDSIGS    You have 4.2-style signals, rather than USG style.
  68.  *        Note: POSIX systems should not define this unless they
  69.  *        have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
  70.  */
  71. #define BSDSIGS
  72.  
  73. /*
  74.  * BSDTIMES    You have BSD-style process time stuff (like rusage)
  75.  *        This may or may not be true.  For example, Apple Unix
  76.  *        (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
  77.  */
  78. #define BSDTIMES
  79.  
  80. /*
  81.  * BSDNICE    Your system uses setpriority() instead of nice, to
  82.  *        change a processes scheduling priority
  83.  */
  84. #define BSDNICE
  85.  
  86. /*
  87.  * TERMIO    You have struct termio instead of struct sgttyb.
  88.  *         This is usually the case for SVID systems, where
  89.  *        BSD uses sgttyb. POSIX systems should define this
  90.  *        anyway, even though they use struct termios.
  91.  */
  92. #undef TERMIO
  93.  
  94. /*
  95.  * SVID        Your machine is SVID complient (Sys V, HPUX, A/UX)
  96.  *        NOTE: don't do this if you are on a Pyramid -- tcsh is
  97.  *        built in a BSD universe.
  98.  *        Set SVID to 1, 2, 3, or 4, depending the version of System V
  99.  *        you are running. Or set it to 0 if you are not SVID based
  100.  */
  101. #define SVID    0
  102.  
  103. /*
  104.  * YPBUGS    Work around Sun YP bugs that cause expansion of ~username
  105.  *        to send command output to /dev/null
  106.  */
  107. #undef YPBUGS
  108.  
  109. /*
  110.  * SIGVOID    Define this if your signal handlers return void.  On older
  111.  *        systems, signal returns int, but on newer ones, it returns void.
  112.  */
  113. #undef SIGVOID 
  114.  
  115. /*
  116.  * HAVEDUP2    Define this if your system supports dup2().
  117.  */
  118. #define HAVEDUP2
  119.  
  120. /*
  121.  * UTHOST    Does the utmp file have a host field?
  122.  */
  123. #define UTHOST
  124.  
  125. /*
  126.  * DIRENT    Your system has <dirent.h> instead of <sys/dir.h>
  127.  */
  128. #undef DIRENT
  129. /****************** local defines *********************/
  130. /****************** configurable hacks ****************/
  131. /* have been moved to config_f.h */
  132. #include "config_f.h"
  133.  
  134. #undef NLS
  135. @
  136.